package org.example.dto;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class RecommendDto {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 景点名字
     */
    @TableField(value = "travel_name")
    private String travelName;

    /**
     * 景点信息
     */
    @TableField(value = "travel_message")
    private String travelMessage;

    /**
     * 景点图片
     */
    @TableField(value = "travel_photo")
    private String travelPhoto;
    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private DateTime updateTime;
}
